﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<HomeIndexModel>" %>

<asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
<link href="../../Content/core/search.css" rel="stylesheet" type="text/css" />
    <div align="center" >
    <div id="searchbar" style="padding: 0px 0px 5px 0px"><%=Html.Partial("SearchBar") %></div>
    <div id="widgets">
    <%foreach (var item in Model.TopTenPosts)
	  { %>
	  <div style="float:left; margin:0px 20px 10px 0px; clear:right;">
		<%=Html.Partial("Top10",item)%>
		</div>
    <%} %>
    </div>
    </div>
</asp:Content>
